<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Blank project for Week 4</title>
</head>
<body>
	<f:view>
		<h:form id="loginForm">
			<h4>Enter your credentials</h4>
			<table>
				<tr>
					<td><h:outputLabel value="User:" for="user" /></td>
					<td><h:inputText id="user" value="#{loginForm.user}"
							required="true" /></td>
				</tr>

				<tr>
					<td><h:outputLabel value="Password:" for="password" /></td>
					<td><h:inputSecret id="password" value="#{loginForm.password}"
							required="true" /></td>
				</tr>
			</table>
			<div>
				<h:commandButton action="#{loginForm.login}" value="Login" />
			</div>
		</h:form>
	</f:view>

</body>
</html>